package com.gtw.modules.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 抽佣比列
 */
public class TbCommissionRatio implements Serializable{

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Integer id;

    /**
     * 名称
     */
    private String name;

    /**
     * 0会员抽佣 收购  1 会员抽佣复购  2 代理抽佣
     */
    private Integer type;

    /**
     * 一级比例
     */
    private Double ratio;

    /*
    * 二级比例
    */
    private Double secondratio;

    /*
    * 三级比例
    */
    private Double thirdratio;
    /*
    * 四级比例
    */
    private Double fourthratio;
    /**
     * 创建时间
     */
    private Date createdate;

    /**
     * 创建人
     */
    private String createuser;

    /**
     * 修改时间
     */
    private Date updatedate;

    /**
     * 修改人
     */
    private String updateuser;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Double getRatio() {
        return ratio;
    }

    public void setRatio(Double ratio) {
        this.ratio = ratio;
    }

    public Double getSecondratio() {
        return secondratio;
    }

    public void setSecondratio(Double secondratio) {
        this.secondratio = secondratio;
    }

    public Double getThirdratio() {
        return thirdratio;
    }

    public void setThirdratio(Double thirdratio) {
        this.thirdratio = thirdratio;
    }

    public Double getFourthratio() {
        return fourthratio;
    }

    public void setFourthratio(Double fourthratio) {
        this.fourthratio = fourthratio;
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    public String getCreateuser() {
        return createuser;
    }

    public void setCreateuser(String createuser) {
        this.createuser = createuser == null ? null : createuser.trim();
    }

    public Date getUpdatedate() {
        return updatedate;
    }

    public void setUpdatedate(Date updatedate) {
        this.updatedate = updatedate;
    }

    public String getUpdateuser() {
        return updateuser;
    }

    public void setUpdateuser(String updateuser) {
        this.updateuser = updateuser == null ? null : updateuser.trim();
    }
}